package com.open.capacity.user.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 采购订单
 *
 * @author
 * @email
 * @date 2020-10-03 10:45:24
 */

@Data
public class UserExcel implements Serializable {
    private static final long serialVersionUID = 1L;

    //行号
    private int rowNum;
    //错误消息
    private String errorMsg;

    @Excel(name = "机构*", width = 20)
    private String companyName;

    @Excel(name = "部门*", width = 20)
    private String departmentName;

    @Excel(name = "员工编号*", width = 20)
    private String userCode;

    @Excel(name = "登陆账号*", width = 20)
    private String userName;

    @Excel(name = "用户姓名*", width = 20)
    private String realName;

    @Excel(name = "手机", width = 20)
    private String phone;

    @Excel(name = "性别", replace = {"男_1", "女_2", "无_null"})
    private Integer sex;

    @Excel(name = "员工类型*")
    private String category;

    @Excel(name = "人员性质")
    private String nature;

    //    @Excel(name = "职称", replace = {"省长_1","副省长_2","市长_3","副市长_4","局长_5","巡视员_6","副局长_7","副巡视员_8","处长_9","调研员_10","副处长_11","副调研员_12","科长_13","主任科员_14","副科长_15","副主任科员_16","科员_17","办事员_18","试用期_19","见习期_20","工人_21","无_null"})
    @Excel(name = "职称")
    private String position;

    //    @Excel(name = "职级*", replace = {"正省级_1","副省级_2","正市级_3","副市级_4","正局级_5","副局级_6","正处级_7","副处级_8","正科级_9","副科级_10","科员_11","办事员_12","其他_99","无_null"})
    @Excel(name = "职级")
    private String levels;

    @Excel(name = "现任职务", width = 20)
    private String job;

    @Excel(name = "技术级别", width = 20)
    private String technicalLevel;
//
//    @Excel(name = "档次", width = 20)
//    private String grade;

    @Excel(name = "身份证号码", width = 20)
    private String code;

    @Excel(name = "出生日期", format = "yyyy-MM-dd")
    private Date birthday;

    @Excel(name = "电话", width = 20)
    private String tel;

    @Excel(name = "是否驾驶员", width = 20)
    private String isDriver;

    @Excel(name = "驾照号", width = 20)
    private String driverLicense;

    @Excel(name = "银行账号", width = 20)
    private String bankAccount;

//    @Excel(name = "设置密码", width = 20)
    private String password;

}
